package com.guofen.service.food;

import com.guofen.dto.FoodOrderDTO;
import com.guofen.dto.OrderDTO;
import com.guofen.dto.OrderWithMenu;
import com.guofen.pojo.FoodOrder;
import com.guofen.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderService {
    int addOrder(OrderDTO orderDTO);
    int processOrder(int orderId, boolean pass);
    int modifyOrder(int orderId, List<FoodOrderDTO> menu);
    Map<String, Object> getOrderByStatus(String[] status, int currentPage, int pageSize);
    int deleteOrder(int orderId);
    List<FoodOrder> getMenu(int orderId);
    List<OrderWithMenu> getCustomerOrder();
}
